<?php
class Content extends Controller
{
	function __construct()
	{	
	   
		parent::__construct();
        $this->load->model(array('Directory_user_model','contents_model'));
	}
	
	function index($first)
	{

        //$this->load->model(array()'contents_model');
       
		$data['query'] = $this->contents_model->getResultsByName($first);
        
        $data['active_menu'] = $first;
        
        $data['which_page'] = $first;
		
		$this->load->view(TEMPLATE_NAME.'/front/contents_view',$data);
	}
	/*function about()
	{
		
	}
	
	function digital_print()
	{
		
	}
	
	function litho_print()
	{
		
	}*/
}
?>